<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk" xml:lang="en" lang="en">


	<f:view>
		<ui:composition template="../templates/templateGAB.xhtml">
			<ui:define name="pageTitle">Simulateur GAB/DAB</ui:define>

			<ui:define name="body">
				<h:form id="loginForm" rendered="#{operationBean.conxBase}">
					<div id="message">
						
					<h:message for="loginForm" infoClass="errorText" style="font-size: 15px; padding-top:800px;color: #c10003;font-weight:bold;" showSummary="true" />
</div>
                         <div id="label1">
						<h:outputLabel id="log" value="Numéro carte "
							styleClass="labelText" style="padding-left:70px;font-size:20px;" />
							</div>
							 <div id="label2">
						<h:inputText id="numCarte" required="true" rendered="true"
							value="#{operationBean.numCarte}"></h:inputText>
						<t:message for="numCarte" style="color: #c10003;font-size:15px;" infoClass="errorText"
							detailFormat="Entrez une valeur"></t:message>
							</div>
							<br />
							 <div id="label3">
						<h:outputLabel id="passs" value="Code confidentiel"
							styleClass="labelText" style="padding-left:70px;font-size:20px;" />
							</div>
							 <div id="label4">
						<h:inputSecret id="code" value="#{operationBean.code}"
							rendered="true" required="true" redisplay="false" ></h:inputSecret>
						<t:message for="code" style="color: #c10003;font-size:15px;" infoClass="errorText"
							detailFormat="Entrez une valeur"></t:message>
							</div>
						<br />
						<h:commandButton value="" action="#{operationBean.valider}"
							style="background:url(../images/login.gif) no-repeat;height: 61px; width: 153px;border:0; cursor:pointer;maprging-top:10px;margin-left:400px;" />

				</h:form>
			</ui:define>
		</ui:composition>
	</f:view>
</html>
